<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Zend_Io_StringReader</title>
			<link rel="stylesheet" href="styles/phpdoc.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> Zend_Io_StringReader</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-vars">Vars</a>
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-consts">Constants</a>
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The Zend_Io_StringReader represents a character stream whose source is  a string.</p>
	<ul class="tags">
				<li><span class="field">author:</span> Sven Vollbehr &lt;<a href="mailto:sven@vollbehr.eu">sven@vollbehr.eu</a>&gt;</li>
				<li><span class="field">version:</span> $Id: StringReader.php 177 2010-03-09 13:13:34Z svollbehr $</li>
				<li><span class="field">copyright:</span> Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)</li>
				<li><span class="field">license:</span> <a href="http://framework.zend.com/license/new-bsd">New BSD License</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="Zend_Io/_Io---StringReader.php.html">/Io/StringReader.php</a> (line <span class="field">37</span>)
		</p>
		
				
		<pre><a href="Zend_Io/Zend_Io_Reader.html">Zend_Io_Reader</a>
   |
   --Zend_Io_StringReader</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-consts">Constants</a>
							
															<a href="#sec-vars">Vars</a>
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																								<div class="method-definition">
					<img src="images/Constructor.png" alt=" "/>
					<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$data</span>, [<span class="var-type">integer</span>&nbsp;<span class="var-name">$length</span> = <span class="var-default">null</span>])
																<span class="method-result">Zend_Io_StringReader</span>
									</div>
																<div class="method-definition">
					<img src="images/Destructor.png" alt=" "/>
					<a href="#__destruct" title="details" class="method-name">__destruct</a>
										()
																<span class="method-result">void</span>
									</div>
																<div class="method-definition">
					<img src="images/Method.png" alt=" "/>
					<a href="#toString" title="details" class="method-name">toString</a>
										()
																<span class="method-result">void</span>
									</div>
											</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-consts">Constants</a>
							
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="Zend_Io/Zend_Io_Reader.html">Zend_Io_Reader</a></span></p>
					<blockquote>
													<img src="images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="Zend_Io/Zend_Io_Reader.html#var$_fd">Zend_Io_Reader::$_fd</a></span><br>
							</span>
													<img src="images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="Zend_Io/Zend_Io_Reader.html#var$_size">Zend_Io_Reader::$_size</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-vars">Vars</a>
														<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="images/Constructor.png" />
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">48</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructs the Zend_Io_StringReader class with given source string.</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Zend_Io_Exception if an I/O error occurs</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Zend_Io_StringReader</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$data</span>, [<span class="var-type">integer</span>&nbsp;<span class="var-name">$length</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$data</span><span class="var-description">: The string to use as the source.</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$length</span><span class="var-description">: If the <var>length</var> argument is given,   reading will stop after <var>length</var> bytes have been read or   the end of string is reached, whichever comes first.</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="Zend_Io/Zend_Io_Reader.html#method__construct">Zend_Io_Reader::__construct()</a></dt>
						<dd>Constructs the Zend_Io_Reader class with given open file descriptor.</dd>
					</dl>
			
	</div>
<a name="__destruct" id="__destruct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="images/Destructor.png" />
		<span class="method-title">Destructor __destruct</span> (line <span class="line-number">82</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Closes the file descriptor.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			__destruct
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="Zend_Io/Zend_Io_Reader.html#method__destruct">Zend_Io_Reader::__destruct()</a></dt>
						<dd>Default destructor.</dd>
					</dl>
			
	</div>
<a name="toString" id="toString"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="images/Method.png" />
		<span class="method-title">toString</span> (line <span class="line-number">70</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the string representation of this class.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			toString
		</span>
				()
			</div>
	
		
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="Zend_Io/Zend_Io_Reader.html">Zend_Io_Reader</a></span></p>
					<blockquote>
													<img src="images/Constructor.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#method__construct">Zend_Io_Reader::__construct()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodavailable">Zend_Io_Reader::available()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodclose">Zend_Io_Reader::close()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodgetFileDescriptor">Zend_Io_Reader::getFileDescriptor()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodgetOffset">Zend_Io_Reader::getOffset()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodgetSize">Zend_Io_Reader::getSize()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodread">Zend_Io_Reader::read()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadDoubleBE">Zend_Io_Reader::readDoubleBE()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadDoubleLE">Zend_Io_Reader::readDoubleLE()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadFloatBE">Zend_Io_Reader::readFloatBE()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadFloatLE">Zend_Io_Reader::readFloatLE()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadGuid">Zend_Io_Reader::readGuid()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadHHex">Zend_Io_Reader::readHHex()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadInt8">Zend_Io_Reader::readInt8()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadInt16">Zend_Io_Reader::readInt16()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadInt16BE">Zend_Io_Reader::readInt16BE()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadInt16LE">Zend_Io_Reader::readInt16LE()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadInt24">Zend_Io_Reader::readInt24()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadInt24BE">Zend_Io_Reader::readInt24BE()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadInt24LE">Zend_Io_Reader::readInt24LE()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadInt32">Zend_Io_Reader::readInt32()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadInt32BE">Zend_Io_Reader::readInt32BE()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadInt32LE">Zend_Io_Reader::readInt32LE()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadInt64BE">Zend_Io_Reader::readInt64BE()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadInt64LE">Zend_Io_Reader::readInt64LE()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadLHex">Zend_Io_Reader::readLHex()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadString8">Zend_Io_Reader::readString8()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadString16">Zend_Io_Reader::readString16()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadUInt8">Zend_Io_Reader::readUInt8()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadUInt16">Zend_Io_Reader::readUInt16()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadUInt16BE">Zend_Io_Reader::readUInt16BE()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadUInt16LE">Zend_Io_Reader::readUInt16LE()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadUInt24">Zend_Io_Reader::readUInt24()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadUInt24BE">Zend_Io_Reader::readUInt24BE()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadUInt24LE">Zend_Io_Reader::readUInt24LE()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadUInt32">Zend_Io_Reader::readUInt32()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadUInt32BE">Zend_Io_Reader::readUInt32BE()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreadUInt32LE">Zend_Io_Reader::readUInt32LE()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodreset">Zend_Io_Reader::reset()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodsetOffset">Zend_Io_Reader::setOffset()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#methodskip">Zend_Io_Reader::skip()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#method__destruct">Zend_Io_Reader::__destruct()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#method__get">Zend_Io_Reader::__get()</a></span><br>
													<img src="images/Method.png" alt=" "/>
							<span class="method-name"><a href="Zend_Io/Zend_Io_Reader.html#method__set">Zend_Io_Reader::__set()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-vars">Vars</a>
														| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
										<h4>Inherited Constants</h4>
				<A NAME='inherited_consts'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="Zend_Io/Zend_Io_Reader.html">Zend_Io_Reader</a></span></p>
					<blockquote>
													<img src="images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="Zend_Io/Zend_Io_Reader.html#constBIG_ENDIAN_ORDER">Zend_Io_Reader::BIG_ENDIAN_ORDER</a></span><br>
							</span>
													<img src="images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="Zend_Io/Zend_Io_Reader.html#constLITTLE_ENDIAN_ORDER">Zend_Io_Reader::LITTLE_ENDIAN_ORDER</a></span><br>
							</span>
													<img src="images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="Zend_Io/Zend_Io_Reader.html#constMACHINE_ENDIAN_ORDER">Zend_Io_Reader::MACHINE_ENDIAN_ORDER</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<p class="notes" id="credit">
		Documentation generated on Wed, 04 May 2011 08:39:41 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>